<?php
/**
 * @Author: rocky
 * Date: 2019/12/10
 * Time: 17:40
 */


namespace app\shop\model;


use app\common\model\BaseModel;

class ShopSeckillGood extends BaseModel
{
    public function good(){
        return $this->belongsTo(ShopGoods::class,'good_id');
    }
    public function activity(){
        return $this->belongsTo(ShopSeckillActivity::class,'activity_id');
    }
}